<!--
 * @Author: your name
 * @Date: 2021-11-29 15:22:34
 * @LastEditTime: 2021-11-29 17:07:37
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\usercenter\components\freight\list\view\view.component.html
-->
<ng-container >
  <!-- 页头 -->
  <page-header-wrapper [logo]="logo" [content]="content">
    <ng-template #logo>
      <button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()">
        <i nz-icon nzType="left" nzTheme="outline"></i>
      </button>
    </ng-template>
    <ng-template #content>
      <div class="user-info">
        <img [src]="detailData?.shoppFeignVO?.logoUrl" />
        <div style="flex: 1">
         <div style="display: flex;">
          <p style="padding-right: 80px; width: 400px;">深圳市xxxx科技有限公司{{ detailData?.shoppFeignVO?.publicity }}</p>
          <nz-badge nzStatus="success" nzText="正常" *ngIf="detailData?.status === 0"></nz-badge>
          <nz-badge nzStatus="error" nzText="冻结" *ngIf="detailData?.status === 1"></nz-badge>
          <nz-badge nzStatus="warning" nzText="废弃" *ngIf="detailData?.status === 2"></nz-badge>
         </div>
         <div style="display: flex;">
          <p style="padding-right: 80px; width: 400px;">4545456655645{{ detailData?.shoppFeignVO?.introduction }}</p>
          <p >认证时间：2021-09-02 12.53.32</p>
         </div>
         <div>
          服务评级：<nz-rate [ngModel]="2" nzDisabled></nz-rate>
         </div>
        
        </div>
      </div>
    </ng-template>
  </page-header-wrapper>
  <nz-card>
    <h1 style="font-weight: 700; font-size: 16px; margin-left: '15%';">道路运输经营许可证</h1>
    <sf #sf [compact]="false" [ui]="ui" [schema]="schema" [button]="'none'" [formData]="detailData?.effectiveDate"></sf>
    <div style="display: flex; justify-content: center; align-items: center;">
      <button nz-button nzType="default" (click)="handleCancel('suppliersType')">取消</button>
      <button nz-button nzType="primary" (click)="handleOK('suppliersType')" [disabled]="!sf.valid">确认</button>
    </div>
  </nz-card>
</ng-container>


